﻿@{
}



<div>
    <div>

        <label>Product name</label>
        <input type="text" data-bind="value:ProductName" />
        <p data-bind="validationMessage: ProductName" class="text-error"></p>
    </div>

    <div style="display: none">
        <label>Short Description</label>
        <textarea data-bind="value:ShortDescription" rows="10" class="input-xxlarge"></textarea>
        <p data-bind="validationMessage: ShortDescription" class="text-error"></p>

    </div>


    <div>

        <label>Description</label>
        <textarea data-bind="value:FullDescription" rows="10" class="input-xxlarge" id="FullDescription"></textarea>
        <p data-bind="validationMessage: FullDescription" class="text-error"></p>
    </div>


    <div>

        <label>Stock Quantity</label>
        <input type="text" data-bind="value:StockQuantity" />
        <p data-bind="validationMessage: StockQuantity" class="text-error "></p>
    </div>


    <div>

        <label>SkuPrice</label>
        <input type="text" data-bind="value:Price" />
        <p data-bind="validationMessage: Price" class="text-error "></p>
    </div>


    <label>Picture</label>
    <img data-bind="attr:{src: PictureUrl}" />
    <p data-bind="validationMessage: PictureId" class="text-error "></p>

    <ul id="manualUploadModeExample" class="unstyled"></ul>



    <label class="checkbox">
        <input type="checkbox" data-bind="checked: IsPublished">
        Is Published
    </label>
</div>



<input type="button"  data-bind="value:'@T("Admin_Product_Create_Button_Title")', click:SaveProductInfo" class="btn btn-primary"/>


<a href="/product/list" class="btn btn-link">@T("Admin_Product_Save_Back")</a>